﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace SistemasBuenosAires.Website.Controls.TabButton
{
    public partial class TabButton : System.Web.UI.UserControl
    {
        protected void Page_Load(object sender, EventArgs e)
        {

        }

        #region PROPERTIES

        public String Text
        {
            get { return TabButtonCenter.Text; }
            set { TabButtonCenter.Text = value; }
        }

        public String NavigateUrl
        {
            get { return TabButtonCenter.PostBackUrl; }
            set { TabButtonCenter.PostBackUrl = value; }
        }

        #endregion

        public event System.EventHandler Click;

        protected void TabButtonCenter_Click(object sender, EventArgs e)
        {
            if(Click !=null)
            {
                this.Click(sender, e);
            }
        }



    }
}